<?php
	
	function site_url($parts)
	{
		$url = '/tecnicosya';

		foreach($parts as $part)
		{
			$url .= '/' . $part;
		}
		
		return $url;
	}  
	
	function site_path($parts, $suffix)
	{
		$path = __SITE_PATH;

		foreach($parts as $part)
		{
			$path .= DIRECTORY_SEPARATOR . $part;
		}
		
		if($suffix)
			$path .= $suffix;	
		
		return $path;
	}
	
?>